using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;

using WozLib.UI.Ink.SketchObjects;

namespace WozLib.UI.Ink.SketchProperties
{
  public class RectGeometryCascadingProperty : CascadingProperty
  {

    public RectGeometrySketchProperty RectGeometryWozProperty
    {
      get { return WozProperty as RectGeometrySketchProperty; }
      set { WozProperty = value; }
    }


    public RectGeometryCascadingProperty(List<ISketchObject> iWozObjects, RectGeometrySketchProperty rectGeometryWozProperty)
      : base(iWozObjects, rectGeometryWozProperty)
    {
      if (WozPropertyVariants.Count > 1)
      {
        this.RectGeometryWozProperty.Rect = new Rect(0.0, 0.0, 0.0, 0.0);
      }
    }
  }
}